package multithreading;

public class myThread extends Thread {
    public myThread(String name) {
        super(name);
    }

    public myThread() {

    }

    @Override
    public void run() {
        for (int i = 0; i < 4; i++) {
            System.out.println(this.getName() + i);
        }
    }
}
